package nodes.exprnodes;

import nodes.exprnodes.unary.UnaryExprNode;
import visitors.Visitor;

public final class FuncCallNode extends ExprNode
{
    public String id;
    public ExprNode params;

    public FuncCallNode(String id, ExprNode params)
    {
        this.id = id;
        this.params = params;
    }

    @Override
    public Object accept(Visitor v)
    {
        return v.visit(this);
    }
}